import { HttpError } from '../../config/error';
import { NextFunction, Request, Response } from 'express';

/**
 * @export
 * @param {Request} req
 * @param {Response} res
 * @param {NextFunction} next
 * @returns {Promise < void >}
 */
export async function verify(req: Request, res: Response, next: NextFunction): Promise<void> {
    try {


        res.status(200).json({ code: 0, message: 'msg', data: [] });
    } catch (error) {
        next(new HttpError(error.message.status, error.message));
    }
}